﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;

/// <summary>
/// Summary description for QLHoaDonXuat
/// </summary>
public class QLHoaDonXuat
{
    DBConnection db = new DBConnection();
	public QLHoaDonXuat()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public DataTable Load_HDXuat()
    {
        string sql = "select hdxuat.sohdx,hoa.mahoa,tenhoa,tendn,slxuat,dgxuat,ngayxuat from hoa,cthdxuat,hdxuat where hdxuat.sohdx=cthdxuat.sohdx and hoa.mahoa=cthdxuat.mahoa";
        return db.Get_data(sql);
    }
}
